package com.safety.web.service.impl;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.safety.web.dao.UserDao;
import com.safety.web.entity.User;
import com.safety.web.service.UserService;
@Service("userService")
public class UserServiceImpl  implements UserService{
	@Resource
	private UserDao userDao;

	@Override
	public User selectHasUser(String phoneNum) {
		return userDao.selectHasUser(phoneNum);
	}

	@Override
	public int insertRegister(User user) {
		return userDao.insertRegister(user);
	}


}
